<template>
  <div>
    <div class="not">
      <h1>404</h1>
      <p>亲~~没有找到页面哦!</p>
      <p>请点击返回</p>
      <p><span @click="$router.replace('/')">首页</span></p>
    </div>
  </div>
</template>

<script setup>
// const { default: router } = require("@/router");
// const { ref } = require("@vue/reactivity");

// const a = ref(0);
// const b = ref(null);
// (function () {
//   setTimeout(() => {
//     router.replace("/");
//   }, 5000);
// })();
</script>
<style scoped>
.not {
  margin-top: 1rem;
  text-align: center;
  line-height: 0.6rem;
}
h1 {
  margin-bottom: 0.3rem;
}
</style>